/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.cs.exception;

/**
 *
 * @author Administrador
 */
public class PojoException extends Exception{

    String summaryMessage;
    String detailsMessage;

    public PojoException() {
    }

    public PojoException(String summary, String details, Throwable exception) {
        super(summary+" - "+details,exception);
        this.summaryMessage = summary;
        this.detailsMessage = details;
    }

    public String getSummaryMessage() {
        return summaryMessage;
    }

    public void setSummaryMessage(String summaryMessage) {
        this.summaryMessage = summaryMessage;
    }

    public String getDetailsMessage() {
        return detailsMessage;
    }

    public void setDetailsMessage(String detailsMessage) {
        this.detailsMessage = detailsMessage;
    }
    
}
